<h2>List Volumes By Branch</h2>
<hr/>
<p>To list volumes for a specific branch, select the branch location from the for location drop down field to generate a report.
  The Report includes the total number of results and the total pages
  for printing can be determined during printing. This indicates the appropriate size
  of the report in pages to enable you to make adjustments before printing.
</p>
<center>
<div class="errorval"><?php echo validation_errors(); ?>
<?php echo $error; ?></div>
<table>
<?php $parameters = array('target' => '_blank'); ?>
<?php echo form_open('admin/reports_management/volumesByBranch/', $parameters); ?>
<tr>
	<th align="right" width=30%>For Location:</th>
	<?php
	$options = array();
	
	foreach ($locations as $location)
		$options[$location->location_id] = $location->location_name;
	
	?>
	<td colspan=2><?php echo form_dropdown('location_id', $options); ?></td>
</tr>
<tr>
	<th align="right" class="tablehead">Actions</th>
	<td><?php echo form_submit('generate_report', 'Generate Report'); ?></td>
</tr>
<?php echo form_close(); ?>
</table>
</center>
<br />
